#filename:/mysite/humor/urls.py

from django.conf.urls.defaults import *
#import django.views.static.serve
# Uncomment the next two lines to enable the admin:
#from django.contrib import admin
#admin.autodiscover()
#	(r'^index/$','webindex'),
urlpatterns = patterns('mysite.humor.views',
    (r'^home/(?P<imei>\w+)/$', 'home'),
    (r'^refreshhome/(?P<imei>\w+)/$', 'refreshhome'),
    (r'^more/(?P<imei>\w+)/(?P<page>\d+)/$', 'more'),
    (r'^morebyid/(?P<imei>\w+)/(?P<hid>\d+)/$', 'morebyid'),
    (r'^view/(?P<imei>\w+)/(?P<url>\w+)/$', 'view'),
    (r'^like/(?P<imei>\w+)/(?P<hid>\d+)/$', 'like'),
    (r'^changeusername/(?P<imei>\w+)/(?P<name>\w+)$', 'changeusername'),
    (r'^postcomment/(?P<imei>\w+)/(?P<hid>\d+)/(?P<username>\w+)/(?P<body>\w+)/$', 'postcomment'),
    (r'^viewcomment/(?P<imei>\w+)/(?P<hid>\d+)/(?P<page>\d+)/$', 'viewcomment'),
	(r'^sync/(?P<imei>\w+)/$', 'sync'),
	(r'^gentest/$','gen'),
#	(r'^parsetag/$','parsetag'),
	(r'^users/$','users'),
	(r'^$','webindex'),
	(r'^webview/(?P<url>\w+)/$','webview'),
	(r'^webcomment/(?P<hid>\d+)/$','webcomment'),
    (r'^websubmit/$','websubmit'),
    (r'^webaddjoke/$','webaddjoke'),
)
